<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Overflow: text-overflow: ellipsis and scrolling reference file</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
  div {
    display: inline-block;
    writing-mode: vertical-lr;
    font: 100px/1 Ahem;
    height: 400px;
  }
</style>
<p>The test passes if it matches the reference.</p>

<div>X pp</div>
<div>ppp</div>
<div>Xp</div>
<div>ppp</div>
